package com.jxbeidou.system.menu.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;
import com.jxbeidou.core.mybatis.entity.BaseEntity;

/**
 * 菜单表
 *
 * @author 杜晓祥 
 * @since 1.0.0 2023-12-14
 */
@EqualsAndHashCode(callSuper=false)
@Data
@TableName("sys_permission")
public class PermissionDO extends BaseEntity {

	/**
	* 菜单名称
	*/
	@TableField(value = "name")
	private String name;

	/**
	* 菜单全称
	*/
	@TableField(value = "abbreviation")
	private String abbreviation;

	/**
	* 菜单描述
	*/
	@TableField(value = "description")
	private String description;

	/**
	* 菜单图标
	*/
	@TableField(value = "icon")
	private String icon;

	/**
	* 上一级菜单
	*/
	@TableField(value = "parent_id")
	private Long parentId;

	/**
	* 父菜单集合
	*/
	@TableField(value = "parent_list")
	private String parentList;

	/**
	* 菜单类型，1:目录，2:菜单, 3:按钮
	*/
	@TableField(value = "type")
	private Integer type;

	/**
	* 权限值
	*/
	@TableField(value = "permission_value")
	private String permissionValue;

	/**
	* 连接
	*/
	@TableField(value = "url")
	private String url;

	/**
	* 菜单级别
	*/
	@TableField(value = "level")
	private Integer level;

	/**
	* 排序
	*/
	@TableField(value = "sort")
	private Integer sort;

	/**
	* 状态，0:启用，1:禁用
	*/
	@TableField(value = "status")
	private Integer status;

}